package com.lw.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "LW-PROVIDER")
public interface GoodFeignClients {
    @GetMapping("/goods/provider")
    public String  findGoodById();   //feign d的声明式接口方法
}
